package br.com.SRP.Modelo;

	import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


	/**
	 * The persistent class for the ckl02Acao database table.
	 * 
	 */
	@Entity
	@Table(name="ckl06Checklist")
	public class Ckl06Checklist implements Serializable {
		private static final long serialVersionUID = 1L;

		@Id
		@Column(name="codigo")
		@GeneratedValue(strategy=GenerationType.IDENTITY)
		private int codigo;

		@Temporal(TemporalType.TIMESTAMP)
		private java.util.Calendar dataInicial;
		
		@Temporal(TemporalType.TIMESTAMP)
		private java.util.Calendar dataFinal;

		private String status;

		//bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "usuario", referencedColumnName = "codigo")
		private Sis01Usuario sis01Usuario;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "tipoCkl", referencedColumnName = "codigo")
		private Ckl05TipoCheckList ckl05TipoCheckList;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "equipamento", referencedColumnName = "codigo")
		private Eqp01Equipamento eqp01Equipamento;


	    public Ckl06Checklist() {
	    }

		public int getCodigo() {
			return this.codigo;
		}

		public void setCodigo(int codigo) {
			this.codigo = codigo;
		}

		public java.util.Calendar getDataInicial() {
			return this.dataInicial;
		}

		public void setDataInicial(java.util.Calendar dataInicial) {
			this.dataInicial = dataInicial;
		}
		
		public java.util.Calendar getDataFinal() {
			return this.dataFinal;
		}

		public void setDataFinal(java.util.Calendar dataFinal) {
			this.dataFinal = dataFinal;
		}


		public String getStatus() {
			return this.status;
		}

		public void setStatus(String status) {
			this.status = status;
		}
		public Sis01Usuario getSis01Usuario() {
			return this.sis01Usuario;
		}

		public void setSis01Usuario(Sis01Usuario sis01Usuario) {
			this.sis01Usuario = sis01Usuario;
		}
		public Ckl05TipoCheckList getCkl05TipoCheckList() {
			return this.ckl05TipoCheckList;
		}

		public void setCkl05TipoCheckList(Ckl05TipoCheckList ckl05TipoCheckList) {
			this.ckl05TipoCheckList = ckl05TipoCheckList;
		}

		public Eqp01Equipamento getEqp01Equipamento() {
			return this.eqp01Equipamento;
		}

		public void setEqp01Equipamento(Eqp01Equipamento eqp01Equipamento) {
			this.eqp01Equipamento = eqp01Equipamento;
		}
		
	}